﻿#include "event.h"
#include "smartmanager.h"
#include "loader.h"
#include "tomatoclockfragment.h"
#include <QApplication>
#include <QMap>
#include <QJsonArray>
#include <QJsonObject>
#include <QJsonDocument>
#include <QFile>
#include <QDebug>
#include "editeventfragment.h"
#include "dayincalendarfragment.h"
#include "calendarfragment.h"
#include "counter.h"
#include "clockfragment.h"
#include "todolistitemfragment.h"
#include "alltodolists.h"
#include "eventtimeout.h"
#include <map>
#include <QTranslator>
int main(int argc, char *argv[]) {
    QApplication a(argc, argv);
    QTranslator translator;
    qDebug()<<":/translation/"+QLocale::system().name()+".qm";
    if(translator.load(":/translation/"+QLocale::system().name()+".qm")) {
        a.installTranslator(&translator);
    }
    SmartManager w;
    w.show();
//    TomatoClockFragment frag;
//    frag.show();
    return a.exec();

}

